<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">  
    <meta name="format-detection" content="telephone=no"> 
    <title>奖金规则</title>
    <link rel="stylesheet" href="/Public/Home/css/reward.css">
    <!--不识别数字为手机-->
<meta name="format-detection" content="telephone=no, email=no"/>
<!--通用js-->
<?php if(isset($signPackage) && !empty($signPackage)){ ?>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js?v=201704270010"></script>
<?php } ?>
<script type="text/javascript" src="/Public/Home/js/require.js"></script>
<script type="text/javascript" src="/Public/Home/js/baseLoading.js?v=201705240001"></script>
<script src="/Public/Home/js/jquery.min.js" ></script>
<script src="/Public/Home/js/pincode-input.js" ></script>
<script src="/Public/Home/js/parabola.js" ></script>
<script src="/Public/Home/js/lazyload/jquery.lazyload.min.js"></script>
<script type="text/javascript">
    _global.isLogin = !!"<?php echo $wx_member_id; ?>";
	var isWxShareDiy = typeof yc_share_diy === "undefined" ? false : yc_share_diy;
	var yc_wx_shareImgPath = "";
	<?php if(isset($weixin_logo) && !empty($weixin_logo)){ ?>
		yc_wx_shareImgPath = "/Uploads/<?php echo ($weixin_logo["image"]); ?>";
	<?php } ?>
    var yc_pass_arr = {'local_id':"<?php echo I('local_id',1);?>",'top_local_id':"<?php echo I('top_local_id',1);?>"};
	if(parseInt(yc_pass_arr["local_id"]) == 21){
		_global.isStopSell = true;
	}
    <?php if(isset($signPackage) && !empty($signPackage)){ ?>
        _global.isWeiXinLoad = true;
        var isEnableLocation = typeof yc_wx_location === "undefined" ? false : yc_wx_location;
        var yc_wx_options = {
            "enableLocation" : isEnableLocation,
            "refuseCallback" : function(){},
            "mapCallback" : function(){},
            "config" : {
                debug: false,
                appId: '<?php echo $signPackage["appId"];?>',
                timestamp: '<?php echo $signPackage["timestamp"];?>',
                nonceStr: '<?php echo $signPackage["nonceStr"];?>',
                signature: '<?php echo $signPackage["signature"];?>',
                jsApiList: [
                    'checkJsApi'
                ]
            }
        };
        var isInHeader = typeof yc_wx_useInHeader === "undefined" ? true : yc_wx_useInHeader;
        if(isInHeader){
            wxAutoConfig(yc_wx_options);
        }
    <?php } ?>
</script>
</head>
<body class="bg-white">
    <div class="shop-rule-container">
        <div class="chart-box">
            <span class="pic"></span>
        </div>
        <div class="desc">
            <span class="tit">奖励详细规则</span>
            <p class="info">
                *通过生成海报，将海报分享给朋友。<br/>
                *你的朋友通过海报关注公众号你可以获得 <font class="b"><?php echo ($info["follow_wechat"]); ?></font> 奖金奖励。<br/>并成为你的下级。<br/>
                *你所有的下级朋友在店铺商城进行购物，你都可以获得购物 <font class="b"><?php echo ($info["son_shopping"]); ?>%</font> 的提层。<br/>
                *如果购物后有退款，提层部分将扣除。<br/>
                *你的下级首次生成海报你也可以获得 <font class="b"><?php echo ($info["generate_poster"]); ?></font> 奖金奖励。快去教他怎么生成跟分享吧。<br/>
                *被你邀请首次关注公众号的朋友，也可以获得 <font class="b"><?php echo ($info["follow_wechat_friend"]); ?></font>  元奖金。<br/>
            </p>
        </div>
    </div>
    <script type="text/javascript">
        require(['base']);
    </script>
</body>
</html>